#导包
from rest_framework import serializers
# 导入需要序列化的表
from myapp.models import User

class UserSer(serializers.ModelSerializer):

    class Meta:
        model = User
        fields = "__all__"